package org.toy.wechat.gym.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description Bmi信息记录
 * @Author devin
 * @Date: 2020/2/23 0023 11:34
 */
@Data
public class GymBmiRequest {
    @NotBlank
    private String openId;

    @NotNull
    private BigDecimal height;

    @NotNull
    private BigDecimal weight;

    @NotNull
    private Integer age;

    @NotNull
    private BigDecimal bmiValue;

    @NotNull
    private Byte lifeType;

    @NotNull
    private Byte sex;
}
